package com.yxx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxx.entity.BlogFile;
import com.yxx.entityModel.vo.query.FileQuery;
import com.yxx.entityModel.vo.response.FileResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yuxiangxun
 * @date 2025/2/1
 * @apiNote
 */
@Repository
public interface BlogFileMapper extends BaseMapper<BlogFile> {

    /**
     * 查看后台文件列表
     * @param fileQuery
     * @return
     */
    List<FileResponse> selectFileVOList(@Param("param") FileQuery fileQuery);
}
